package www.sofn.com.sys.user.domain.pojo;


import com.baomidou.mybatisplus.annotation.EnumValue;
import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;
import www.sofn.com.domain.pojo.BasePO;
import www.sofn.com.sys.user.dictionary.SexEnum;

@Data
@Accessors(chain = true)
@TableName("sys_user")
public class SysUserPO  extends BasePO {

    /**用户名**/
    private String name ;
    /** 账号 */
    @TableField(updateStrategy= FieldStrategy.IGNORED)
    private String username ;
    /** 密码 */
    @TableField(updateStrategy= FieldStrategy.IGNORED)
    private String password ;
    /** 电话 */
    private String phone ;
    /** 性别;性别:MALE(男),FEMALE(女),UNKNOWN(未知) */
    @EnumValue
    private SexEnum sex ;
}
